.analyse__acpl {
  display: none;
}

.relay-admin {
  grid-area: acpl;

  @extend %box-neat, %flex-column;

  background: $c-bg-box;
  margin-top: $block-gap;

  h2 {
    @extend %flex-between;

    font-size: 1.2em;
    padding: 0.4em 0.6em;
    border-bottom: $border;
  }

  .state {
    @extend %flex-center-nowrap;

    border-bottom: $border;
    min-height: 3.5em;

    @include transition;

    &::before {
      @extend %flex-center;

      font-size: 1.3em;
      margin: 0 0.5em 0 0.8em;
    }

    &.clickable:hover {
      cursor: pointer;
      background: $c-primary;
      color: $c-primary-over;
    }

    > div {
      @extend %ellipsis;
    }

    .fat {
      font-size: 1.5em;
      text-transform: uppercase;
    }

    &.off {
      background: mix($c-primary, $c-bg-box, 80%);
      color: #fff;
    }

    &.on {
      background: $c-good;
      color: $c-good-over;
    }
  }

  .time {
    font-weight: bold;
  }

  .log {
    overflow-x: hidden;
    overflow-y: auto;
    white-space: nowrap;
    padding: 0.3em 0.7em;

    > div {
      @extend %flex-center-nowrap;

      margin: 4px 0;

      &::before {
        color: $c-good;
        font-size: 1.3em;
        margin-right: 0.5em;
      }
    }

    time {
      @extend %roboto;

      margin-left: 0.3em;
    }

    .err::before {
      color: $c-bad;
    }
  }
}
